<div class="page-content" >
	<div class="panel panel-default">
		<div class="panel-heading">
			<ul class="breadcrumb">
				<li><a href="<{:U('student')}>">会员管理</a> </li>
				<li class="active">开通课程</li>
			</ul>
		</div>
		<div class="panel-body">
			<form id="myform" method="post" class="form-horizontal" action="<{:U('show_open_courses')}>">
				<input type="hidden" name="id" value="<{$data.user_id}>">
				<div class="form-group">
					<div class="form-group">
						<label for="input-title" class="col-sm-2 control-label">QQ</label>
						<div class="col-sm-7">
							<input readonly type="text" class="form-control" id="nickname" name="nickname" value="<{$data['user_name']}>">
						</div>
					</div>
					<div class="form-group">
						<label for="input-title" class="col-sm-2 control-label">已开通课程</label>
						<div class="col-sm-7">
							<volist name="subject_data" id="vo">
								<p><{$vo.name}>(<{$vo.end_date}>) <a data-type="confirm"  content="确认禁用之后，该学生将无法学本门课程，确认禁用吗？" href="<{:U('del_courses',array('subject_id'=>$key,'user_id'=>$data['user_id']))}>" >禁用</a></p>
							</volist>
						</div>
					</div>
					
     <div class="form-group">
						<label for="input-title" class="col-sm-2 control-label">选择课程</label>
						<div class="col-sm-7">
							<select name="subject_id" class="form-control">
								<option value="0">选择课程</option>
								<volist name="subject_list" id="vo">
									<option value="<{$vo.subjectid}>"><{$vo.subject}></option>
								</volist>
							</select>
						</div>
					</div>
     
     
     <div class="form-group">
						<label for="input-title" class="col-sm-2 control-label">同时开通线下课程</label>
						<div class="col-sm-7" style="margin-top:10px" >
     <label> <input type="radio" name="offline_subject_ids" value="1" checked="checked" />是</label>
     <label> <input type="radio" name="offline_subject_ids" value="0" />否</label>
							 </div>
						</div>
					</div>
     
     
					<div class="form-group">
						<label for="input-title" class="col-sm-2 control-label">支付方式</label>
						<div class="col-sm-7">
							<select name="payment_id"  class="form-control">
								<option value="0">请选择</option>
								<volist name="pay_type" id="vo">
									<option value="<{$vo.payment_id}>"><{$vo.payment_name}></option>
								</volist>
							</select>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-7" align="center">
							<button class="btn btn-primary" type="submit">确&nbsp;&nbsp;定</button>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
